package com.tc.cursoflex.event
{
	import flash.events.Event;

	public class SignUpEvent extends Event
	{
		public static const SIGN_UP:String = "signUp";
		public static const SIGN_IN:String = "signIn";
		
		private var _mail:String;
		private var _name:String;
		private var _image:String;
		
		public function SignUpEvent(type:String, mail:String, name:String=null, imageUrl:String=null)
		{
			super(type, true);
			this._mail = mail;
			this._name = name;
			this._image = imageUrl;
		}
		
		public function get mail():String
		{
			return this._mail;
		}
		public function get name():String
		{
			return this._name;
		}
		public function get imageUrl():String
		{
			return this._image;
		}
	}
}